<?php
	if(file_exists(ROOT.'/function/db.inc.php'))
	{
		$uptime = date("Y-m-d H:i:s", filemtime(ROOT.'/function/db.inc.php'));
	}
	$smarty->_assign(array('uptime'));
	$smarty->_display();
?>